package sg.edu.nus.iss.billing.entity;

import java.io.Serializable;

public class Customer extends BaseEntity implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5211533277169442306L;
	private String name;
	private String NRIC;
	private Address billingAddress;
	private String contactNumber1;
	private String contactNumber2;
	private String contactNumber3;
	private String interests;
	private String salutation;
	private String email;
	private RecordState active;
	private int age;
	private String accountNumber;

	public String getSalutation() {
		return salutation;
	}

	public void setSalutation(String salutation) {
		this.salutation = salutation;
	}

	public int getAge() {
		return age;
	}

	public void setAge(int age) {
		this.age = age;
	}

	private Account account;

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNRIC() {
		return NRIC;
	}

	public void setNRIC(String nRIC) {
		NRIC = nRIC;
	}

	public Address getBillingAddress() {
		return billingAddress;
	}

	public void setBillingAddress(Address billingAddress) {
		this.billingAddress = billingAddress;
	}

	public String getContactNumber1() {
		return contactNumber1;
	}

	public void setContactNumber1(String contactNumber1) {
		this.contactNumber1 = contactNumber1;
	}

	public String getContactNumber2() {
		return contactNumber2;
	}

	public void setContactNumber2(String contactNumber2) {
		this.contactNumber2 = contactNumber2;
	}

	public String getContactNumber3() {
		return contactNumber3;
	}

	public void setContactNumber3(String contactNumber3) {
		this.contactNumber3 = contactNumber3;
	}

	public String getInterests() {
		return interests;
	}

	public void setInterests(String interests) {
		this.interests = interests;
	}

	public RecordState getActive() {
		return active;
	}

	public void setActive(RecordState active) {
		this.active = active;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setAccountNumber(String accountNumber) {
		this.accountNumber = accountNumber;
	}

	public String getAccountNumber() {
		return accountNumber;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see java.lang.Object#toString()
	 */

	@Override
	public String toString() {
		return "Customer [id=" + id + "name=" + name + ", NRIC=" + NRIC
				+ ", billingAddress=" + billingAddress + ", contactNumber1="
				+ contactNumber1 + ", contactNumber2=" + contactNumber2
				+ ", contactNumber3=" + contactNumber3 + ", interests="
				+ interests + ", salutation=" + salutation + ", email=" + email
				+ ", active=" + active + ", age=" + age + ", account="
				+ account + "]";
	}

}
